import { CommandContext } from './command-context.interface'
import { CommandResponse } from './command-response.interface'

export interface Command {
  name: string
  // if true, the command can only be used by the bot developers (env.BOT_OWNERS)
  ownersOnly?: boolean
  handle: (ctx: CommandContext) => Promise<CommandResponse> | CommandResponse
}